CC = gcc
CFLAGS = -O0

QuickFind: QuickFind.c
	$(CC) $(CFLAGS) $^ -o $@

PathCompressionByFull: PathCompressionByFull.c
	$(CC) $(CFLAGS) $^ -o $@

BenchmarkForUF: BenchmarkForUF.c
	$(CC) $(CFLAGS) $^ -o $@

BenchmarkForUF2: BenchmarkForUF2.c
	$(CC) $(CFLAGS) $^ -o $@

BenchmarkForUF3: BenchmarkForUF3.c
	$(CC) $(CFLAGS) $^ -o $@

clean:
	rm -f QuickFind PathCompressionByFull BenchmarkForUF BenchmarkForUF2 BenchmarkForUF3